import request from '@/utils/request'





// 查询参数
export function queryParameter(query) {
    return request({
        url: '/business/sdr/query/parameter',
        method: 'get',
        params: query
    })
}

// 设置参数
export function editParameter(data) {
    return request({
        url: '/business/sdr/edit/parameter',
        method: 'post',
        data: data
    })
}



// stop 
export function sdrSet(data) {
    return request({
        url: '/business/sdr/set',
        method: 'post',
        data: data
    })
}


// stop 
export function ffbStop(data) {
    return request({
        url: '/business/sdr/stop',
        method: 'post',
        data: data
    })
}


export function ffbStart(data) {
    return request({
        url: '/business/sdr/start',
        method: 'post',
        data: data
    })
}

//下变频开始
export function channelStart(data) {
    return request({
        url: '/business/sdr/channel/start',
        method: 'post',
        data: data
    })
}

//下变频停止
export function channelStop(data) {
    return request({
        url: '/business/sdr/channel/stop',
        method: 'post',
        data: data
    })
}



//下变频播放开始
export function playStart(data) {
    return request({
        url: '/business/sdr/channel/play/start',
        method: 'post',
        data: data
    })
}

//下变频播放结束
export function playStop(data) {
    return request({
        url: '/business/sdr/channel/play/stop',
        method: 'post',
        data: data
    })
}



//下变频记录开始
export function recordStart(data) {
    return request({
        url: '/business/sdr/channel/record/start',
        method: 'post',
        data: data
    })
}

//下变频记录结束
export function recordStop(data) {
    return request({
        url: '/business/sdr/channel/record/stop',
        method: 'post',
        data: data
    })
}

